import { createApp } from "vue";
import App from "./App.vue";
import "@/assets/css/reset.css";
import "./assets/global.less";
import "@/assets/font/font.css";
// import components from "./components/global";
import Router from "./router/index";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import pinia from "@/store";

const app = createApp(App);

process.env["ELECTRON_DISABLE_SECURITY_WARNINGS"] = "true";

// components
// for (const i in components) {
//   app.component(i, components[i]);
// }

app.use(Router);
app.use(Antd);
app.use(pinia);
app.mount("#app");
